package com.my.beans;

public class Profession {
	private String pno;
	private String pname;
	private Department dept;
	private String speciality;
	private String scale;
	
	
	
	
	public Profession(String pno, String pname,Department dept, String speciality,String scale ) {
		super();
		this.pno = pno;
		this.pname = pname;  
		this.dept = dept;
		this.speciality=speciality;
		this.scale = scale;
		
	}


	@Override
	public String toString() {
		return "Course [pno=" + pno +", pname=" + pname +  ", dept=" + dept + ", speciality=" + speciality + 
				",scale=" + scale + "]";
	}


	public String getPno() {
		return pno;
	}


	public void setPno(String pno) {
		this.pno = pno;
	}


	public String getPname() {
		return pname;
	}


	public void setPname(String pname) {
		this.pname = pname;
	}

	public Department getDept() {
		return dept;
	}


	public void setDept(Department dept) {
		this.dept = dept;
	}



	public String getSpeciality() {
		return speciality;
	}


	public void setSpeciality(String speciality) {
		this.speciality = speciality;
	}


	public String getScale() {
		return scale;
	}


	public void setScale(String scale) {
		this.scale = scale;
	}


	public Profession(){}
}
